﻿<UserControl xmlns:Controls="clr-namespace:Flare.Controls"  x:Class="Flare.Pages.Hards.Delete"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d"
      d:DesignHeight="600" d:DesignWidth="800">
    <DockPanel>
        <TextBlock x:Name="headDelete" FontSize="18" FontFamily="Segoe UI" Foreground="{DynamicResource ColorText}" DockPanel.Dock="Top" Margin="10" >
            <TextBlock.Text>
                <MultiBinding StringFormat="Подтвердите удаление {0} {1} {2} с инвентарным номером {3}">
                    <Binding Path="type" />
                    <Binding Path="mark" />
                    <Binding Path="model" />
                    <Binding Path="inventory_number" />
                </MultiBinding>
            </TextBlock.Text>
        </TextBlock>
        <Controls:FlameButtonInfo x:Name="deleteButton" Content="Удалить" DockPanel.Dock="Top" HorizontalAlignment="Left" VerticalAlignment="Top" 
                                  Margin="10,40,0,0" Click="deleteButton_Click"/>
    </DockPanel>
</UserControl>
